package x.y.z.properties;//package x.y.z.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@ConfigurationProperties(prefix="app")
@Component
public class Config2 {
    private String name;
    private String title;
    private String desc;
}
